Skip to content

feat(docker): add a local OpenJRS Docker Compose environment - #4

Merged
rftd merged 19 commits into
masterfrom
feature/local-docker-compose
Oct 23, 2026
Merged

rftd merged 19 commits into
masterfrom
feature/local-docker-compose

Conversation

@rftd

@rftd rftd commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Adds a source-built Dockerfile and Docker Compose environment for local OpenJRS testing, using Java 8, Tomcat 9, PostgreSQL 14 and the existing Node 14/Yarn frontend build. The initializer preserves repository data and encryption keys, refuses incomplete or mismatched initialization, and provides SugarCRM/Foodmart sample databases. The runtime runs without root, with no-new-privileges and sandboxed Chromium under the documented seccomp profile.

Includes the integrated changes from PR #5 and PR #6: remove the Jaspersoft vendor heartbeat subsystem; fix TableReport drilldown and migrate MapReport to Leaflet/OpenStreetMap; migrate Community reports and fixtures to native JR7 sources; remove the automatic JR6 XML adapter while preserving the current viewer and Community visualizations. Source license notices, dependency checks, persistence protection and browser security remain covered. The original strict inventory and unresolved SiteMesh production provenance review remain unchanged.

BREAKING CHANGE: heartbeat endpoints/classes are removed. Reports and styles must use native JasperReports 7 formats; JR6 sources require explicit migration and compiled reports require recompilation. Bundled examples use ordinary PDF where unsupported tagging was previously requested; PDF accessibility remains deferred.

Validation: the final integrated source tree is identical to a77ae3979716bfac1b69ce4690775d838e256c3e, which passed Legacy full build and Local Docker environment. These cover frontend/WAR, native reports/MDX, REST PDF/XLSX, viewer controls, Table/Map drilldown and image exports, absent vendor heartbeat, branding, persistence/missing-key protection and sandboxed Chromium visualization exports. The local Docker installation was also confirmed functional.

Existing installs should follow MIGRATION.md and docker/local/README.md: run python3 scripts/update-native-samples.py --apply against the current server before rebuilding the images. The updater backs up known original samples and refuses customized content; database and encryption-key volumes are preserved.

rftd added 6 commits October 23, 2026 01:27
Scope frontend build exclusions to module outputs so the masterlist util.build Groovy package remains in the context. Isolate and lock the Maven cache shared by the initializer and runtime build targets.
Retain Moby default seccomp restrictions and allow the three namespace syscalls required by the unprivileged browser. Preserve upstream licensing, enable no-new-privileges, and exercise server-side Community visualization PDF export in CI.
The server derives its Chrome enabled flag and executable from WEB-INF/js.config.properties, overriding the JasperReports classpath defaults. Set chrome.path in the runtime after shared config is copied, and retain the real server-side CV PDF export check with useful failure diagnostics.
rftd added 12 commits October 23, 2026 06:05
Migrate all Community catalog JRXML and standalone/test sources with the JR7 writer, remove the automatic JR6 loader, and document explicit migration requirements. Preserve the viewer and Community visualization port; use a Community chart in the auxiliary book example.

Align Jackson and JFreeChart with the official 7.1.0 dependencies; pin the exact observed diagnostic inventory with published artifact checksums. Add native report/WAR checks and MDX runtime coverage.
Convert thirteen import-fixture JRXML definitions and one JRTX template with the native JR7 writers while preserving encrypted credentials and all other archive entries. Extend the format gate and native loader tests to cover these packages.

Retain shared image/text style alignment in auxiliary examples and explicitly use ordinary PDF in shipped examples that previously requested unsupported tagging. Document optional plugins and historical archive exclusions.
feat(reports)!: migrate Community samples to native JR7 and remove JR6 adapter
…R7 reports

feat(privacy)!: remove Jaspersoft vendor heartbeat
@rftd
rftd marked this pull request as ready for review October 23, 2026 20:18
@rftd
rftd merged commit 927e53a into master Oct 23, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant